<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>OpenLayers v8.2.0 API - Class: View</title>
    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
        crossorigin="anonymous"></script>
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/fontawesome.min.css"
        crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/solid.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/brands.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="styles/prettify-tomorrow.css">
    <link rel="stylesheet" type="text/css" href="styles/jaguar.css">
    <link rel="stylesheet" type="text/css" href="styles/carbon.css">
    <link rel="stylesheet" type="text/css" href="/theme/ol.css">
    <link rel="stylesheet" type="text/css" href="/theme/site.css">
</head>

<body>
    <header class="navbar navbar-expand-sm navbar-dark mb-3 px-3 py-0 fixed-top" role="navigation">
        <a class="navbar-brand" href="/"><img src="/theme/img/logo-dark.svg" width="70" height="70"
                alt="">&nbsp;OpenLayers</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#olmenu"
            aria-controls="olmenu" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <!-- menu items that get hidden below 768px width -->
        <nav class="collapse navbar-collapse" id="olmenu">
            <ul class="nav navbar-nav ms-auto">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="docdropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Docs</a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="docdropdown">
                        <a class="dropdown-item" href="/doc/">Docs</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="/doc/quickstart.html"><i
                                class="fa fa-check fa-fw me-2 fa-lg"></i>快速入门</a>
                        <a class="dropdown-item" href="/doc/faq.html"><i
                                class="fa fa-question fa-fw me-2 fa-lg"></i>FAQ</a>
                        <a class="dropdown-item" href="/doc/tutorials/"><i
                                class="fa fa-book fa-fw me-2 fa-lg"></i>Tutorials</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="https://stackoverflow.com/questions/tagged/openlayers"><i
                                class="fab fa-stack-overflow fa-fw me-2"></i>Ask a Question</a>
                    </div>
                </li>
                <li class="nav-item"><a class="nav-link" href="/en/latest/examples/">Examples</a></li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="apidropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <i class="fa fa-sitemap me-1"></i>API
                    </a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
                        <a class="dropdown-item" href="/en/latest/apidoc/"><i
                                class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v8.2.0
                            (latest)</a </div>
                </li>
            </ul>
        </nav>
    </header>

    <div class="container-fluid">
        <div id="wrap" class="row">
            <div class="navigation col-md-4 col-lg-3">
                <div class="search-wrapper">
                    <div class="search">
                        <input id="search" type="text" autocomplete="off" class="form-control input-sm"
                            placeholder="Search Documentation">
                    </div>
                </div>
                <div class="navigation-list-wrapper">
                    <ul class="navigation-list search-empty">
                        <li class="item item-class toggle-manual toggle-manual-show" data-longname="module:ol/View~View"
                            data-name="ol/view">
                            <span class="title toggle">
                                <span class="fa fa-chevron-right me-2 mt-1"></span>
                                <span><a href="module-ol_View-View.html">ol​/View</a></span>
                            </span>
                            <div class="member-list" data-type="members">
                                <span class="subtitle">Members</span>
                                <ul>
                                    <li data-name="padding"><a href="module-ol_View-View.html#padding">padding</a>
                                </ul>
                            </div>
                            <div class="member-list" data-type="methods">
                                <span class="subtitle">Methods</span>
                                <ul>
                                    <li data-name="adjustcenter"><a
                                            href="module-ol_View-View.html#adjustCenter">adjustCenter</a>
                                    <li data-name="adjustresolution"><a
                                            href="module-ol_View-View.html#adjustResolution">adjustResolution</a>
                                    <li data-name="adjustrotation"><a
                                            href="module-ol_View-View.html#adjustRotation">adjustRotation</a>
                                    <li data-name="adjustzoom"><a
                                            href="module-ol_View-View.html#adjustZoom">adjustZoom</a>
                                    <li data-name="animate"><a href="module-ol_View-View.html#animate">animate</a>
                                    <li data-name="begininteraction"><a
                                            href="module-ol_View-View.html#beginInteraction">beginInteraction</a>
                                    <li data-name="calculateextent"><a
                                            href="module-ol_View-View.html#calculateExtent">calculateExtent</a>
                                    <li data-name="cancelanimations"><a
                                            href="module-ol_View-View.html#cancelAnimations">cancelAnimations</a>
                                    <li data-name="centeron"><a href="module-ol_View-View.html#centerOn">centerOn</a>
                                    <li data-name="changed"><a href="module-ol_View-View.html#changed">changed</a>
                                    <li data-name="dispatchevent"><a
                                            href="module-ol_View-View.html#dispatchEvent">dispatchEvent</a>
                                    <li data-name="endinteraction"><a
                                            href="module-ol_View-View.html#endInteraction">endInteraction</a>
                                    <li data-name="fit"><a href="module-ol_View-View.html#fit">fit</a>
                                    <li data-name="get"><a href="module-ol_View-View.html#get">get</a>
                                    <li data-name="getanimating"><a
                                            href="module-ol_View-View.html#getAnimating">getAnimating</a>
                                    <li data-name="getcenter"><a href="module-ol_View-View.html#getCenter">getCenter</a>
                                    <li data-name="getinteracting"><a
                                            href="module-ol_View-View.html#getInteracting">getInteracting</a>
                                    <li data-name="getkeys"><a href="module-ol_View-View.html#getKeys">getKeys</a>
                                    <li data-name="getmaxresolution"><a
                                            href="module-ol_View-View.html#getMaxResolution">getMaxResolution</a>
                                    <li data-name="getmaxzoom"><a
                                            href="module-ol_View-View.html#getMaxZoom">getMaxZoom</a>
                                    <li data-name="getminresolution"><a
                                            href="module-ol_View-View.html#getMinResolution">getMinResolution</a>
                                    <li data-name="getminzoom"><a
                                            href="module-ol_View-View.html#getMinZoom">getMinZoom</a>
                                    <li data-name="getprojection"><a
                                            href="module-ol_View-View.html#getProjection">getProjection</a>
                                    <li data-name="getproperties"><a
                                            href="module-ol_View-View.html#getProperties">getProperties</a>
                                    <li data-name="getresolution"><a
                                            href="module-ol_View-View.html#getResolution">getResolution</a>
                                    <li data-name="getresolutionforextent"><a
                                            href="module-ol_View-View.html#getResolutionForExtent">getResolutionForExtent</a>
                                    <li data-name="getresolutionforzoom"><a
                                            href="module-ol_View-View.html#getResolutionForZoom">getResolutionForZoom</a>
                                    <li data-name="getresolutions"><a
                                            href="module-ol_View-View.html#getResolutions">getResolutions</a>
                                    <li data-name="getrevision"><a
                                            href="module-ol_View-View.html#getRevision">getRevision</a>
                                    <li data-name="getrotation"><a
                                            href="module-ol_View-View.html#getRotation">getRotation</a>
                                    <li data-name="getzoom"><a href="module-ol_View-View.html#getZoom">getZoom</a>
                                    <li data-name="getzoomforresolution"><a
                                            href="module-ol_View-View.html#getZoomForResolution">getZoomForResolution</a>
                                    <li data-name="on"><a href="module-ol_View-View.html#on">on</a>
                                    <li data-name="once"><a href="module-ol_View-View.html#once">once</a>
                                    <li data-name="set"><a href="module-ol_View-View.html#set">set</a>
                                    <li data-name="setcenter"><a href="module-ol_View-View.html#setCenter">setCenter</a>
                                    <li data-name="setconstrainresolution"><a
                                            href="module-ol_View-View.html#setConstrainResolution">setConstrainResolution</a>
                                    <li data-name="setmaxzoom"><a
                                            href="module-ol_View-View.html#setMaxZoom">setMaxZoom</a>
                                    <li data-name="setminzoom"><a
                                            href="module-ol_View-View.html#setMinZoom">setMinZoom</a>
                                    <li data-name="setproperties"><a
                                            href="module-ol_View-View.html#setProperties">setProperties</a>
                                    <li data-name="setresolution"><a
                                            href="module-ol_View-View.html#setResolution">setResolution</a>
                                    <li data-name="setrotation"><a
                                            href="module-ol_View-View.html#setRotation">setRotation</a>
                                    <li data-name="setzoom"><a href="module-ol_View-View.html#setZoom">setZoom</a>
                                    <li data-name="un"><a href="module-ol_View-View.html#un">un</a>
                                    <li data-name="unset"><a href="module-ol_View-View.html#unset">unset</a>
                                </ul>
                            </div>
                            <div class="member-list" data-type="fires">
                                <span class="subtitle">Fires</span>
                                <ul>
                                    <li data-name="change"><a
                                            href="module-ol_events_Event-BaseEvent.html#event:change">change</a>
                                    <li data-name="change:center">change:center
                                    <li data-name="change:resolution">change:resolution
                                    <li data-name="change:rotation">change:rotation
                                    <li data-name="error"><a
                                            href="module-ol_events_Event-BaseEvent.html#event:error">error</a>
                                    <li data-name="propertychange"><a
                                            href="module-ol_Object.ObjectEvent.html#event:propertychange">propertychange</a>
                                </ul>
                            </div>
                        <li class="loading">Loading …
                    </ul>
                </div>
            </div>

            <div class="main col-md-8 col-lg-9">
                <h1 class="page-title" data-filename="module-ol_View-View.html">Class: View</h1>
                <div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none">
                    <button id="latest-dismiss" type="button" class="btn-close" data-bs-dismiss="alert"
                        aria-label="Close"></button>
                    This documentation is for OpenLayers v<span id="package-version">8.2.0</span>. The <a
                        id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>.
                </div>




                <section class="content">

                    <header>
                        <h2 class="my-3">
                            <span class="ancestors"><a href="module-ol_View.html">ol/View</a>~</span>View
                        </h2>
                        <br>



                        <pre
                            class="prettyprint source"><code>import View from '<a href="module-ol_View.html">ol/View</a>.js';</code></pre>


                        <div class="row p-3 ">
                            <!-- <div id="ad" class="col-lg-5 order-2 align-self-center border rounded bg-light ">
                                <script async type="text/javascript"
                                    src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg"
                                    id="_carbonads_js"></script>
                            </div> -->

                            <div class="class-description col-lg-7 align-self-center ps-0">
                                <p>一个视图对象代表地图的简单2D视图。</p>
                                <p>要更改地图的中心、分辨率和旋转，需对视图对象进行操作。</p>
                                <p>视图具有<code>projection</code>。投影决定了中心坐标系，其单位决定了分辨率的单位（投影单位/像素）。默认投影是Web
                                    Mercator（EPSG:3857）。/p>
                                <h3>视图状态</h3>
                                <p>视图由三个状态确定：<code>center</code>, <code>resolution</code>,
                                    and <code>rotation</code>. 每个状态都有相应的 getter and
                                    setter,例如对于<code>center</code>状态有<code>getCenter</code> and <code>setCenter</code>。
                                </p>
                                <p><code>zoom</code>状态实际上并未保存在视图上：所有计算内部使用<code>分辨率</code>状态。不过， <code>setZoom</code>
                                    and <code>getZoom</code>方法可用，以及<code>getResolutionForZoom</code> and
                                    <code>getZoomForResolution</code>用于在两个系统之间切换。
                                </p>
                                <h3>约束</h3>
                                <p><code>setCenter</code>, <code>setResolution</code> and
                                    <code>setRotation</code>可用于更改视图的状态，但构造函数中定义的任何约束都将应用于这些更改。
                                </p>
                                <p>视图对象可以具有<em>分辨率约束(resolution constraint)</em>、<em>旋转约束(rotation constraint)</em>
                                    and <em>中心约束(center constraint)</em>。</p>
                                <p><em>分辨率约束(resolution constraint)</em> 通常限制最小/最大值，并使分辨率固定到特定值。它由以下选项确定：
                                    <code>resolutions</code>、<code>maxResolution</code>、<code>maxZoom</code>
                                    and
                                    <code>zoomFactor</code>。如果设置了<code>resolutions</code>则忽略其他三个选项。有关每个选项的更多信息，请参阅文档。默认情况下，视图仅具有最小/最大限制，例如在捏缩放时允许中间缩放级别。
                                </p>
                                <p><em>rotation constraint</em> 使旋转固定到特定角度。它由以下选项确定：<code>enableRotation</code> and
                                    <code>constrainRotation</code>。默认情况下允许旋转，并且当接近水平方向时，其值将固定为零。
                                </p>
                                <p><em>center constraint</em>由<code>extent</code>选项确定。默认情况下，视图中心不受任何约束。</p>
                                <h3>改变视图状态</h3>
                                <p>值得注意的是，<code>setZoom</code>, <code>setResolution</code>,
                                    <code>setCenter</code> and
                                    <code>setRotation</code>都受到上述约束的限制。因此，有时可能无法提前知道View的最终状态。例如，调用<code>setResolution(10)</code>并不能保证
                                    <code>getResolution()</code>会返回<code>10</code>.
                                </p>
                                <p>由此产生的一个结果是，在应用视图状态的增量时，应该使用<code>adjustCenter</code>, <code>adjustRotation</code>,
                                    <code>adjustZoom</code> and
                                    <code>adjustResolution</code>，而不是相应的setter。这将允许视图进行内部计算。此外，<code>adjust*</code>方法还采用一个<code>锚点</code>参数，该参数允许指定转换的起点。
                                </p>
                                <h3>与视图交互</h3>
                                <p>视图约束通常仅在视图处于<em>静止</em>状态时应用，
                                    这意味着没有交互或动画正在进行。因此，如果用户将视图置于与约束状态不相等的状态（例如，当snap角度为0时旋转视图），则会在交互结束时触发动画，将视图放回到稳定状态；
                                </p>
                            </div>

                        </div>
                    </header>

                    <article>
                        <div class="container-overview">



                            <dl>

                                <dt class="">

                                    <div class="nameContainer">
                                        <div class="anchor" id="View">
                                        </div>
                                        <h4 class="name">
                                            new View<span class="signature">(<span
                                                    class="optional">options</span>)</span>



                                        </h4>

                                        <div class="tag-source">
                                            <a
                                                href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                            <a
                                                href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L313">line
                                                313</a>
                                        </div>

                                    </div>


                                </dt>
                                <dd class="">













                                    <table class="params">
                                        <thead>
                                            <tr>

                                                <th>Name</th>


                                                <th>Type</th>

                                                <th class="last">Description</th>
                                            </tr>
                                        </thead>

                                        <tbody>


                                            <tr class="">

                                                <td class="name"><code>center</code></td>



                                                <td class="type">


                                                    <span class="param-type"><a
                                                            href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>视图的初始中心。如果用户投影未设置，则使用<code>projection</code>选项指定中心的坐标系。如果未设置此选项，则不会获取图层源，但稍后可以使用
                                                        <code>#setCenter</code>设置中心。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>constrainRotation</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>
                                                    |

                                                    <span class="param-type">number</span>



                                                    (defaults to true)


                                                </td>



                                                <td class="description last">

                                                    <p>旋转约束。<code>false</code>表示无约束。<code>true</code>表示无约束，但接近零时固定为零。一个数字将旋转约束为该数字的数值。例如，<code>4</code>将旋转约束为0、90、180和270度。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>enableRotation</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>



                                                    (defaults to true)


                                                </td>



                                                <td class="description last">

                                                    <p>启用旋转。如果为<code>false</code>，则使用始终将旋转设置为零的旋转约束。如果
                                                        <code>enableRotation</code>为<code>false</code>，则<code>constrainRotation</code>选项无效。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>extent</code></td>



                                                <td class="type">


                                                    <span class="param-type"><a
                                                            href="module-ol_extent.html#~Extent">Extent</a></span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>约束视图的范围，换句话说，这个范围之外的任何东西都不会出现在地图上。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>constrainOnlyCenter</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>



                                                    (defaults to false)


                                                </td>



                                                <td class="description last">

                                                    <p>如果为true，范围约束将只应用于视图中心，而不应用于整个范围。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>smoothExtentConstraint</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>



                                                    (defaults to true)


                                                </td>



                                                <td class="description last">

                                                    <p>如果为true，范围约束将平滑应用，即允许视图稍微超出给定范围。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>maxResolution</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>T用于确定分辨率约束的最大分辨率。它与<code>minResolution</code> (或
                                                        <code>maxZoom</code>)
                                                        和<code>zoomFactor</code>一起使用。如果未指定，则以256x256 px的瓦片大小计算投影的有效范围。
                                                        如果投影是Spherical Mercator（默认值），则
                                                        <code>maxResolution</code>默认为<code>40075016.68557849 / 256 = 156543.03392804097</code>.
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>minResolution</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>用于确定分辨率约束的最小分辨率。它与<code>maxResolution</code> (or
                                                        <code>minZoom</code>) and
                                                        <code>zoomFactor</code>一起使用。如果未指定，则假设有29个缩放级别（缩放因子为2）。如果投影是Spherical
                                                        Mercator（默认值），则<code>minResolution</code>默认为
                                                        <code>40075016.68557849 / 256 / Math.pow(2, 28) = 0.0005831682455839253</code>。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>maxZoom</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>



                                                    (defaults to 28)


                                                </td>



                                                <td class="description last">

                                                    <p>用于确定分辨率约束的最大缩放级别。它与<code>minZoom</code> (or
                                                        <code>maxResolution</code>) and
                                                        <code>zoomFactor</code>一起使用。请注意，如果还提供了<code>minResolution</code>，则它将优先于<code>maxZoom</code>。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>minZoom</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>



                                                    (defaults to 0)


                                                </td>



                                                <td class="description last">

                                                    <p>用于确定分辨率约束的最小缩放级别。它与<code>maxZoom</code> (or
                                                        <code>minResolution</code>) and
                                                        <code>zoomFactor</code>一起使用。请注意，如果还提供了<code>maxResolution</code>，则它将优先于<code>minZoom</code>。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>multiWorld</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>



                                                    (defaults to false)


                                                </td>



                                                <td class="description last">

                                                    <p>如果为<code>false</code>，视图将被约束，以便只显示一个世界，并且不能将边缘置于视线之外。如果为
                                                        <code>true</code>地图在低缩放级别上可能显示多个世界。仅在<code>projection</code>为全局时使用。
                                                        请注意，如果还提供了<code>extent</code>，则给予其优先级。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>constrainResolution</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>



                                                    (defaults to false)


                                                </td>



                                                <td class="description last">

                                                    <p>如果为true, 在交互之后，视图将始终平滑地缩放到最近的缩放级别；false表示允许中间缩放级别。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>smoothResolutionConstraint</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>



                                                    (defaults to true)


                                                </td>



                                                <td class="description last">

                                                    <p>如果为true，将平滑地应用分辨率的min/max值，即允许视图略微超出给定的分辨率或缩放范围。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>showFullExtent</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>



                                                    (defaults to false)


                                                </td>



                                                <td class="description last">

                                                    <p>允许视图缩小以显示配置的完整范围。默认情况下，当视图配置有范围时，用户将无法缩小视图，以便在任何维度上超出范围。这意味着如果视口的高度或宽度与配置范围的纵横比不同，则整个范围可能不可见。如果showFullExtent为true，用户将能够缩小视图，以便超出配置范围的高度或宽度，但不能同时超出两者，从而允许显示整个范围。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>projection</code></td>



                                                <td class="type">


                                                    <span class="param-type"><a
                                                            href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>



                                                    (defaults to 'EPSG:3857')


                                                </td>



                                                <td class="description last">

                                                    <p>投影。默认值为Spherical Mercator。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>resolution</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>视图的初始分辨率。单位是像素的<code>projection</code>单位(例如，每像素米)。设置此值的替代方法是设置<code>zoom</code>。如果既未定义此选项也未定义<code>zoom</code>，则不会获取图层源，但稍后可以使用<code>#setZoom</code>
                                                        or <code>#setResolution</code>进行设置。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>resolutions</code></td>



                                                <td class="type">


                                                    <span class="param-type">Array.&lt;number></span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>确定缩放级别的分辨率（如果已指定）。数组中的索引对应于缩放级别，因此分辨率值必须按降序排列。它还通过最小和最大值约束分辨率。如果设置了<code>maxResolution</code>,
                                                        <code>minResolution</code>, <code>minZoom</code>,
                                                        <code>maxZoom</code>, and <code>zoomFactor</code>选项将被忽略。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>rotation</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>



                                                    (defaults to 0)


                                                </td>



                                                <td class="description last">

                                                    <p>视图的初始旋转角度（以弧度为单位）（顺时针方向旋转为正值，0表示北）。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>zoom</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>仅在未定义<code>resolution</code>时使用。用于计算视图初始分辨率的缩放级别。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>zoomFactor</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>



                                                    (defaults to 2)


                                                </td>



                                                <td class="description last">

                                                    <p>用于计算相应分辨率的缩放因子。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>padding</code></td>



                                                <td class="type">


                                                    <span class="param-type">Array.&lt;number></span>



                                                    (defaults to [0, 0, 0, 0])


                                                </td>



                                                <td class="description last">

                                                    <p>填充（以CSS像素为单位）。如果地图视口边缘部分被其他内容（覆盖层）覆盖，此设置允许将视口中心从该内容中移开。值的顺序是顶部、右侧、底部、左侧。
                                                    </p>
                                                </td>
                                            </tr>


                                        </tbody>
                                    </table>




                                    <dl class="details">





















                                    </dl>



                                    <h5>Fires:</h5>
                                    <ul>
                                        <li class="">
                                            <code><a href="module-ol_events_Event-BaseEvent.html#event:change">change</a></code>
                                            (<a href="module-ol_events_Event-BaseEvent.html">BaseEvent</a>)
                                            -通用更改事件。在修订计数器增加时触发。
                                        </li>

                                        <li class="">
                                            <code>change:center</code>

                                            (<a href="module-ol_Object.ObjectEvent.html">ObjectEvent</a>)




                                        </li>

                                        <li class="">
                                            <code>change:resolution</code>

                                            (<a href="module-ol_Object.ObjectEvent.html">ObjectEvent</a>)




                                        </li>

                                        <li class="">
                                            <code>change:rotation</code>

                                            (<a href="module-ol_Object.ObjectEvent.html">ObjectEvent</a>)




                                        </li>

                                        <li class="">
                                            <code><a href="module-ol_events_Event-BaseEvent.html#event:error">error</a></code>
                                            (<a
                                                href="module-ol_events_Event-BaseEvent.html">BaseEvent</a>)-通用错误事件。在发生错误时触发。
                                        </li>

                                        <li class="">
                                            <code><a href="module-ol_Object.ObjectEvent.html#event:propertychange">propertychange</a></code>
                                            (<a href="module-ol_Object.ObjectEvent.html">ObjectEvent</a>) - 当属性发生更改时触发。
                                        </li>
                                    </ul>











                                </dd>

                            </dl>

                        </div>




                        <h3 class="subsection-title">Extends</h3>

                        <ul>
                            <li><a href="module-ol_Object-BaseObject.html">BaseObject</a></li>
                        </ul>











                        <h3 class="subsection-title">Observable Properties</h3>
                        <dl>

                            <table class="props">
                                <thead>
                                    <tr>
                                        <th>Name</th>
                                        <th>Type</th>
                                        <th>Settable</th>
                                        <th><a href="module-ol_Object.ObjectEvent.html">ObjectEvent</a> type</th>
                                        <th class="last">Description</th>
                                    </tr>
                                </thead>

                                <tbody>


                                    <tr class="">
                                        <td class="name"><code>center</code></td>
                                        <td class="type">


                                            <span class="param-type"><a
                                                    href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>
                                            |

                                            <span class="param-type">undefined</span>



                                        </td>
                                        <td class="setter">yes</td>
                                        <td class="event"><code>change:center</code></td>
                                        <td class="description last">
                                            <p>The center of the view.</p>
                                        </td>
                                    </tr>


                                    <tr class="">
                                        <td class="name"><code>resolution</code></td>
                                        <td class="type">


                                            <span class="param-type">number</span>
                                            |

                                            <span class="param-type">undefined</span>



                                        </td>
                                        <td class="setter">yes</td>
                                        <td class="event"><code>change:resolution</code></td>
                                        <td class="description last">
                                            <p>The resolution of the view.</p>
                                        </td>
                                    </tr>


                                    <tr class="">
                                        <td class="name"><code>rotation</code></td>
                                        <td class="type">


                                            <span class="param-type">number</span>



                                        </td>
                                        <td class="setter">yes</td>
                                        <td class="event"><code>change:rotation</code></td>
                                        <td class="description last">
                                            <p>The rotation of the view in radians.</p>
                                        </td>
                                    </tr>

                                </tbody>
                            </table>
                        </dl>




                        <h3 class="subsection-title">成员(Members)</h3>

                        <dl>

                            <dt class="">
                                <div class="nameContainer">
                                    <div class="anchor" id="padding">
                                    </div>
                                    <h4 class="name">
                                        padding<span
                                            class="type-signature type array.<number>">{Array.&lt;number>}</span> <span
                                            class="type-signature type undefined">{undefined}</span>


                                    </h4>
                                </div>

                            </dt>
                            <dd class="">

                                <div class="description">
                                    <p>填充（以CSS像素为单位）。如果地图视口边缘部分被其他内容（覆盖层）覆盖，此设置允许将视口中心从该内容中移开。数组中值的顺序是顶部、右侧、底部、左侧。默认值为无填充，即<code>[0, 0, 0, 0]</code>。
                                    </p>
                                </div>



                                <dl class="details">





















                                </dl>



                            </dd>

                        </dl>



                        <h3 class="subsection-title">Methods</h3>

                        <dl>


                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="adjustCenter">
                                    </div>
                                    <h4 class="name">
                                        adjustCenter<span class="signature">(deltaCoordinates)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1545">line
                                            1545</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>向视图的中心添加相对坐标。任何范围约束都将适用。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>deltaCoordinates</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>要添加的相对值。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="adjustResolution">
                                    </div>
                                    <h4 class="name">
                                        adjustResolution<span class="signature">(ratio, <span
                                                class="optional">anchor</span>)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1572">line
                                            1572</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>将视图分辨率乘以一个比例，可以选择使用锚点。任何分辨率约束都将适用。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>ratio</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>应用于视图分辨率的比率。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>anchor</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>转换的起点。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="adjustRotation">
                                    </div>
                                    <h4 class="name">
                                        adjustRotation<span class="signature">(delta, <span
                                                class="optional">anchor</span>)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1619">line
                                            1619</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>向视图旋转添加一个值，可以选择使用锚点。任何旋转约束都将适用。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>delta</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>要添加到缩放旋转的相对值，以弧度为单位。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>anchor</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>旋转中心。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="adjustZoom">
                                    </div>
                                    <h4 class="name">
                                        adjustZoom<span class="signature">(delta, <span
                                                class="optional">anchor</span>)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1608">line
                                            1608</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>向视图缩放级别添加一个值，可以选择使用锚点。任何分辨率约束都将适用。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>delta</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>要添加到缩放级别的相对值。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>anchor</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>转换的起点。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="animate">
                                    </div>
                                    <h4 class="name">
                                        animate<span class="signature">(var_args)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L587">line
                                            587</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>使视图动画化。视图的中心、缩放（或分辨率）和旋转可以进行动画处理，以便在视图状态之间进行平滑过渡。例如，要将视图动画化到新的缩放级别：</p>
                                    <pre
                                        class="prettyprint source"><code>view.animate({zoom: view.getZoom() + 1});</code></pre>
                                    <p>默认情况下，动画持续一秒钟并使用缓入缓出效果。您可以通过包含持续时间（以毫秒为单位）和缓动选项（参见<a
                                            href="module-ol_easing.html"><code>ol/easing</code></a>）来自定义此行为。 </p>
                                    <p> 要将多个动画链接在一起，请使用包含多个动画对象的调用方法。例如，首先缩放然后平移：</p>
                                    <pre
                                        class="prettyprint source"><code>view.animate({zoom: 10}, {center: [0, 0]});</code></pre>
                                    <p>如果您将一个函数作为animate方法的最后一个参数提供，它将在动画系列结束时被调用。如果动画系列自行完成，则回调将带有<code>true</code>，如果被取消，则带有<code>false</code>。
                                    </p>
                                    <p>通过用户交互（例如拖动地图）或调用<code>view.setCenter()</code>、<code>view.setResolution()</code>,
                                        或 <code>view.setRotation()</code>（或调用这些方法的其他方法）来取消动画。
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>var_args</code></td>




                                            <td colspan=2 class="description last">

                                                <p>动画选项。可以通过传递多个选项对象来连续运行多个动画。要并行运行多个动画，请多次调用该方法。可选的回调函数可以作为最后一个参数提供。该回调函数将带有一个布尔值，该布尔值指示动画是否在没有被取消的情况下完成。
                                                </p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>center</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>动画结束时视图的中心。</p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>zoom</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>动画结束时视图的缩放级别。这优先于 <code>分辨率</code>。

                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>resolution</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>动画结束时视图的分辨率。如果还提供了<code>zoom</code>，则此选项将被忽略。 </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>rotation</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>动画结束时视图的旋转。</p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>anchor</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>在旋转或分辨率动画过程中保持固定的可选锚点。</p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>duration</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>



                                                                (defaults to 1000)


                                                            </td>



                                                            <td class="description last">

                                                                <p>动画的持续时间（以毫秒为单位）。</p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>easing</code></td>



                                                            <td class="type">


                                                                <span class="param-type">function</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>动画期间使用的缓动函数（默认为<a
                                                                        href="module-ol_easing.html#.inAndOut"><code>inAndOut</code></a>）。该函数将为每个帧调用，并带有一个表示动画持续时间分数的数字。该函数应返回介于0和1之间的数字，表示向目标状态的进度。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="beginInteraction">
                                    </div>
                                    <h4 class="name">
                                        beginInteraction<span class="signature">()</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1835">line
                                            1835</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>通知视图交互已经开始。如果需要（取决于其约束），视图状态将解析为稳定状态。</p>
                                </div>











                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="calculateExtent">
                                    </div>
                                    <h4 class="name">
                                        calculateExtent<span class="signature">(<span
                                                class="optional">size</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_extent.html#~Extent">Extent</a>}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L999">line
                                            999</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>计算当前视图状态和传递的框大小的区域。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>size</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_size.html#~Size">Size</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>将计算区域应适应的框的像素尺寸。默认为视图关联的地图的大小。如果没有地图或多个地图与视图关联，请提供所需的框大小（例如<code>map.getSize()</code>）。
                                                </p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Extent.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="cancelAnimations">
                                    </div>
                                    <h4 class="name">
                                        cancelAnimations<span class="signature">()</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L727">line
                                            727</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>取消所有正在进行的动画。</p>
                                </div>











                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="centerOn">
                                    </div>
                                    <h4 class="name">
                                        centerOn<span class="signature">(coordinate, size, position)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1480">line
                                            1480</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>以坐标和视图位置为中心。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>coordinate</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>坐标。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>size</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_size.html#~Size">Size</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>方框像素大小。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>position</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_pixel.html#~Pixel">Pixel</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>在视图上居中的位置。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="changed">
                                    </div>
                                    <h4 class="name">
                                        changed<span class="signature">()</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#changed">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L68">line
                                            68</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">
                                <div class="description">
                                    <p>增加修订计数器并派发一个 'change' 事件。</p>
                                </div>











                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="dispatchEvent">
                                    </div>
                                    <h4 class="name">
                                        dispatchEvent<span class="signature">(event)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{boolean | undefined}</span>

                                        <span class="inherited"><a
                                                href="module-ol_events_Target-Target.html#dispatchEvent">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/events/Target.js">events/Target.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/events/Target.js#L85">line
                                            85</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">
                                <div class="description">
                                    <p>派发一个事件并调用所有监听此类型事件的监听器。事件参数可以是字符串或具有 <code>type</code>属性的对象。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>event</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_events_Event-BaseEvent.html">BaseEvent</a></span>
                                                |

                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">

                                                <p>Event object.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                如果任何人在事件对象上调用 preventDefault，或者如果任何监听器返回 false，则为<code>false</code>。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="endInteraction">
                                    </div>
                                    <h4 class="name">
                                        endInteraction<span class="signature">(<span class="optional">duration</span>,
                                            <span class="optional">resolutionDirection</span>, <span
                                                class="optional">anchor</span>)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1849">line
                                            1849</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>通知视图交互已结束。如果需要（取决于其约束），视图状态将解析为稳定状态。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>duration</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>动画持续时间（毫秒）。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>resolutionDirection</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>缩放方向</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>anchor</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>变化的起点</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="fit">
                                    </div>
                                    <h4 class="name">
                                        fit<span class="signature">(geometryOrExtent, <span
                                                class="optional">options</span>)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1344">line
                                            1344</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>根据给定的地图大小和边框来适应给定的几何体或范围。大小是适合范围的框的像素尺寸。在大多数情况下，您将想要使用地图大小，即
                                        <code>map.getSize()</code>。考虑地图的角度。
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>geometryOrExtent</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_geom_SimpleGeometry-SimpleGeometry.html">SimpleGeometry</a></span>
                                                |

                                                <span class="param-type"><a
                                                        href="module-ol_extent.html#~Extent">Extent</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>要适应视图的地形或范围。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>options</code></td>




                                            <td colspan=2 class="description last">

                                                <p>Options.</p>


                                                <table class="params">
                                                    <thead>
                                                        <tr>

                                                            <th>Name</th>


                                                            <th>Type</th>

                                                            <th class="last">Description</th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>


                                                        <tr class="">

                                                            <td class="name"><code>size</code></td>



                                                            <td class="type">


                                                                <span class="param-type"><a
                                                                        href="module-ol_size.html#~Size">Size</a></span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>将范围适应到框中。该框的大小以像素为单位。默认为视图关联的地图的大小如果没有地图或多个地图与视图关联，请提供所需的框大小（例如
                                                                    <code>map.getSize()</code>）。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>padding</code></td>



                                                            <td class="type">


                                                                <span class="param-type">Array.&lt;number></span>



                                                                (defaults to [0, 0, 0, 0])


                                                            </td>



                                                            <td class="description last">

                                                                <p>在视图内部清除的填充（以像素为单位）。数组中的值是顶部、右侧、底部和左侧填充。</p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>nearest</code></td>



                                                            <td class="type">


                                                                <span class="param-type">boolean</span>



                                                                (defaults to false)


                                                            </td>



                                                            <td class="description last">

                                                                <p>如果视图选项<code>constrainResolution</code>
                                                                    为<code>true</code>，则获取最接近的范围，而不是实际上适合视图的最近范围。</p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>minResolution</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>



                                                                (defaults to 0)


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们缩放到所需的最小分辨率。</p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>maxZoom</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>我们缩放到所需的最大缩放级别。如果给出了<code>minResolution</code>，则此属性将被忽略。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>duration</code></td>



                                                            <td class="type">


                                                                <span class="param-type">number</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>动画的持续时间（以毫秒为单位）。默认情况下，没有动画到目标范围。</p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>easing</code></td>



                                                            <td class="type">


                                                                <span class="param-type">function</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>动画期间使用的缓动函数（默认为<a
                                                                        href="module-ol_easing.html#.inAndOut"><code>inAndOut</code></a>）。
                                                                    该函数将为每个帧调用，并带有一个表示动画持续时间分数的数字。该函数应返回介于0和1之间的数字，表示向目标状态的进度。
                                                                </p>
                                                            </td>
                                                        </tr>



                                                        <tr class="">

                                                            <td class="name"><code>callback</code></td>



                                                            <td class="type">


                                                                <span class="param-type">function</span>

                                                                | undefined


                                                            </td>



                                                            <td class="description last">

                                                                <p>当视图处于最终位置时调用的函数。如果动画系列自行完成，则回调将带有<code>true</code>，如果被取消，则带有<code>false</code>。
                                                                </p>
                                                            </td>
                                                        </tr>


                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="get">
                                    </div>
                                    <h4 class="name">
                                        get<span class="signature">(key)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{*}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#get">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L135">line
                                            135</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取一个值。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>key</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">
                                                <p>键名称。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Value.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getAnimating">
                                    </div>
                                    <h4 class="name">
                                        getAnimating<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{boolean}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L710">line
                                            710</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>确定视图是否正在进行动画。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                视图正在设置动画。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getCenter">
                                    </div>
                                    <h4 class="name">
                                        getCenter<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_coordinate.html#~Coordinate">Coordinate</a> |
                                            undefined}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L944">line
                                            944</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图中心</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The center of the view.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getInteracting">
                                    </div>
                                    <h4 class="name">
                                        getInteracting<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{boolean}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L719">line
                                            719</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>确定用户是否正在与视图进行交互，例如平移或缩放。
                                    </p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                正在与视图交互。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getKeys">
                                    </div>
                                    <h4 class="name">
                                        getKeys<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Array.&lt;string>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#getKeys">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L148">line
                                            148</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">



                                <div class="description">
                                    <p>获取对象属性名称的列表。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                属性名称列表。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getMaxResolution">
                                    </div>
                                    <h4 class="name">
                                        getMaxResolution<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1028">line
                                            1028</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图的最大分辨率。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The maximum resolution of the view.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getMaxZoom">
                                    </div>
                                    <h4 class="name">
                                        getMaxZoom<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1046">line
                                            1046</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图的最大缩放级别。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The maximum zoom level.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getMinResolution">
                                    </div>
                                    <h4 class="name">
                                        getMinResolution<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1037">line
                                            1037</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图的最小分辨率。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The minimum resolution of the view.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getMinZoom">
                                    </div>
                                    <h4 class="name">
                                        getMinZoom<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1066">line
                                            1066</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图的最小缩放级别。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The minimum zoom level.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getProjection">
                                    </div>
                                    <h4 class="name">
                                        getProjection<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_proj_Projection-Projection.html">Projection</a>}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1095">line
                                            1095</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图投影。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The projection of the view.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getProperties">
                                    </div>
                                    <h4 class="name">
                                        getProperties<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Object.&lt;string, *>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#getProperties">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L157">line
                                            157</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取包含所有属性名称和值的对象。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Object.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getResolution">
                                    </div>
                                    <h4 class="name">
                                        getResolution<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number | undefined}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1105">line
                                            1105</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图分辨率。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The resolution of the view.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getResolutionForExtent">
                                    </div>
                                    <h4 class="name">
                                        getResolutionForExtent<span class="signature">(extent, <span
                                                class="optional">size</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1127">line
                                            1127</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取为提供的范围（以地图单位）和大小（以像素为单位）的分辨率。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>extent</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_extent.html#~Extent">Extent</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Extent.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>size</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_size.html#~Size">Size</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>Box pixel size.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                提供的范围将以给定大小进行渲染的分辨率。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getResolutionForZoom">
                                    </div>
                                    <h4 class="name">
                                        getResolutionForZoom<span class="signature">(zoom)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1312">line
                                            1312</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取给定缩放级别的分辨率。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>zoom</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>Zoom level.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                所提供缩放级别的分辨率。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getResolutions">
                                    </div>
                                    <h4 class="name">
                                        getResolutions<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Array.&lt;number> | undefined}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1115">line
                                            1115</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图的分辨率。这将返回传递给View构造函数的分辨率数组，如果没有给出，则返回undefined。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The resolutions of the view.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getRevision">
                                    </div>
                                    <h4 class="name">
                                        getRevision<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#getRevision">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L79">line
                                            79</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取此对象的版本号。每次对象被修改时，其版本号将递增。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Revision.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getRotation">
                                    </div>
                                    <h4 class="name">
                                        getRotation<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1177">line
                                            1177</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取视图旋转角度。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                视图的旋转角度，以弧度为单位。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getZoom">
                                    </div>
                                    <h4 class="name">
                                        getZoom<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number | undefined}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1272">line
                                            1272</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取当前的缩放级别。如果视图不限制分辨率，或者正在进行交互或动画，则此方法可能返回非整数缩放级别。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Zoom.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getZoomForResolution">
                                    </div>
                                    <h4 class="name">
                                        getZoomForResolution<span class="signature">(resolution)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number | undefined}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1287">line
                                            1287</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取给定分辨率的缩放级别。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>resolution</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>The resolution.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                所提供分辨率的缩放级别。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="on">
                                    </div>
                                    <h4 class="name">
                                        on<span class="signature">(type, listener)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_events.html#~EventsKey">EventsKey</a> | Array&lt;<a
                                                href="module-ol_events.html#~EventsKey">EventsKey</a>>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#on">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L152">line
                                            152</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>监听特定类型的事件。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>type</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>
                                                |

                                                <span class="param-type">Array.&lt;string></span>




                                            </td>



                                            <td class="description last">
                                                <p>事件类型或事件类型的数组。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>listener</code></td>



                                            <td class="type">


                                                <span class="param-type">function</span>




                                            </td>



                                            <td class="description last">
                                                <p>侦听器函数。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                监听器的唯一键。如果将事件类型的数组作为第一个参数调用，返回将是键的数组。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="once">
                                    </div>
                                    <h4 class="name">
                                        once<span class="signature">(type, listener)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_events.html#~EventsKey">EventsKey</a> | Array&lt;<a
                                                href="module-ol_events.html#~EventsKey">EventsKey</a>>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#once">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L164">line
                                            164</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>仅监听特定类型的事件一次。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>type</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>
                                                |

                                                <span class="param-type">Array.&lt;string></span>




                                            </td>



                                            <td class="description last">
                                                <p>事件类型或事件类型的数组。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>listener</code></td>



                                            <td class="type">


                                                <span class="param-type">function</span>




                                            </td>



                                            <td class="description last">
                                                <p>侦听器函数。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                监听器的唯一键。如果将事件类型的数组作为第一个参数调用，返回将是键的数组。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="set">
                                    </div>
                                    <h4 class="name">
                                        set<span class="signature">(key, value, <span
                                                class="optional">silent</span>)</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#set">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L215">line
                                            215</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置值。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>key</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">
                                                <p>键名称。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>value</code></td>



                                            <td class="type">


                                                <span class="param-type">*</span>




                                            </td>



                                            <td class="description last">

                                                <p>Value.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>silent</code></td>



                                            <td class="type">


                                                <span class="param-type">boolean</span>

                                                | undefined


                                            </td>



                                            <td class="description last">
                                                <p>是否在不触发事件的情况下进行更新。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setCenter">
                                    </div>
                                    <h4 class="name">
                                        setCenter<span class="signature">(center)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1649">line
                                            1649</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置当前视图的中心。将应用任何范围约束。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>center</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>
                                                |

                                                <span class="param-type">undefined</span>




                                            </td>



                                            <td class="description last">

                                                <p>The center of the view.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setConstrainResolution">
                                    </div>
                                    <h4 class="name">
                                        setConstrainResolution<span class="signature">(enabled)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1086">line
                                            1086</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置视图是否应允许中间缩放级别。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>enabled</code></td>



                                            <td class="type">


                                                <span class="param-type">boolean</span>




                                            </td>



                                            <td class="description last">

                                                <p>分辨率是否受到约束。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setMaxZoom">
                                    </div>
                                    <h4 class="name">
                                        setMaxZoom<span class="signature">(zoom)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1057">line
                                            1057</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置新的最大缩放级别</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>zoom</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>The maximum zoom level.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setMinZoom">
                                    </div>
                                    <h4 class="name">
                                        setMinZoom<span class="signature">(zoom)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1077">line
                                            1077</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置新的最小缩放级别</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>zoom</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>The minimum zoom level.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setProperties">
                                    </div>
                                    <h4 class="name">
                                        setProperties<span class="signature">(values, <span
                                                class="optional">silent</span>)</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#setProperties">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L235">line
                                            235</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置一个键值对的集合。请注意，这将更改任何现有属性并添加新属性（不会删除任何现有属性）。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>values</code></td>



                                            <td class="type">


                                                <span class="param-type">Object.&lt;string, *></span>




                                            </td>



                                            <td class="description last">

                                                <p>Values.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>silent</code></td>



                                            <td class="type">


                                                <span class="param-type">boolean</span>

                                                | undefined


                                            </td>



                                            <td class="description last">
                                                <p>是否在不触发事件的情况下进行更新。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setResolution">
                                    </div>
                                    <h4 class="name">
                                        setResolution<span class="signature">(resolution)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1681">line
                                            1681</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>为该视图设置分辨率。将应用任何分辨率约束。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>resolution</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>
                                                |

                                                <span class="param-type">undefined</span>




                                            </td>



                                            <td class="description last">

                                                <p>The resolution of the view.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setRotation">
                                    </div>
                                    <h4 class="name">
                                        setRotation<span class="signature">(rotation)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1692">line
                                            1692</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置此视图的旋转角度。将应用任何旋转约束。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>rotation</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>The rotation of the view in radians.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setZoom">
                                    </div>
                                    <h4 class="name">
                                        setZoom<span class="signature">(zoom)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js">View.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/View.js#L1702">line
                                            1702</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>缩放到特定的缩放级别。将应用任何分辨率约束。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>zoom</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>Zoom level.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="un">
                                    </div>
                                    <h4 class="name">
                                        un<span class="signature">(type, listener)</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#un">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L173">line
                                            173</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>取消监听特定类型的事件。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>type</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>
                                                |

                                                <span class="param-type">Array.&lt;string></span>




                                            </td>



                                            <td class="description last">
                                                <p>事件类型或事件类型的数组。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>listener</code></td>



                                            <td class="type">


                                                <span class="param-type">function</span>




                                            </td>



                                            <td class="description last">
                                                <p>侦听器函数。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="unset">
                                    </div>
                                    <h4 class="name">
                                        unset<span class="signature">(key, <span class="optional">silent</span>)</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#unset">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L259">line
                                            259</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>取消设置属性。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>key</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">
                                                <p>键名称。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>silent</code></td>



                                            <td class="type">


                                                <span class="param-type">boolean</span>

                                                | undefined


                                            </td>



                                            <td class="description last">
                                                <p>在不触发事件的情况下取消设置属性。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>

                        </dl>





                    </article>

                </section>




            </div>
        </div>
    </div>
    <script>prettyPrint();</script>
    <script src="scripts/linenumber.js"></script>
    <script src="scripts/main.js"></script>
</body>

</html>